package com.cx.controller;

import com.cx.entity.HomeDto;
import com.cx.entity.RestResp;
import com.cx.service.IncomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: IncomeController
 * @Description: 收入
 * @Author: cx
 * @Date: 2024/2/1 16:00
 **/
@RestController
@RequestMapping("/income")
public class IncomeController {

    @Autowired
    private IncomeService incomeService;

    @GetMapping("/list")
    public RestResp incomeList(@RequestParam("pageNum") Integer pageNum) {


        return RestResp.success();
    }

}
